package com.chushouya.order.dto.api.quality;

import com.chushouya.product.dto.api.evaluate.EvaluateValueApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("质检选项")
public class QualityItemApiDTO {
    @ApiModelProperty("评估项ID")
    private Long attrId;

    @ApiModelProperty("评估项名称")
    private String attrName;

    @ApiModelProperty("选项类型")
    private Integer evaluateType;

    @ApiModelProperty("是否多选")
    private Boolean isMultiSelect;

    @ApiModelProperty("评估项值")
    private List<EvaluateValueApiDTO> attrValues;

    @ApiModelProperty("质检选中的选项")
    private List<EvaluateValueApiDTO> userValues;

    @ApiModelProperty("质检选中的选项")
    private List<EvaluateValueApiDTO> qualityValues;

}
